#TODO: the prefix and versions should be added as virtual methods.
from adapt.interface import ICapability, ILibrary, IInclude
from adapt.interface import IRecipe, IRecipeSrc
import adapt.capability.systool
from adapt.capability.systool.compiler import CPP
from adapt.capability.SaE.lifev import LifeVCapabilities

class ILifeVRecipe(IRecipe):
    def __init__(self):
        super().__init__()
        self.provides(LifeVCapabilities())
        self.requires(adapt.capability.systool.Make)


class ILifeVRecipe_src(IRecipeSrc, ILifeVRecipe):
    def __init__(self):
        super().__init__()
        self.requires(CPP)

class LifeVRecipe_221(ILifeVRecipe_src):
    def __init__(self):
        super().__init__()
        self.dwnl_uri = "http://localhost/lifev2.2.2.tar.bz2"
    
        
